package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 空气质量指数表(AirQualityIndex)实体类
 *
 * @author makejava
 * @since 2021-10-15 14:33:21
 */
public class AirQualityIndex implements Serializable {
    private static final long serialVersionUID = -21342360063529137L;
    /**
     * 记录编号
     */
    private Integer id;
    /**
     * 区域编号
     */
    private Integer districtid;
    /**
     * 检测时间
     */
    private Date monitortime;
    /**
     * pm10值
     */
    private Integer pm10;
    /**
     * pm25
     */
    private Integer pm25;
    /**
     * 监测站
     */
    private String monitoringstation;
    /**
     * 最后更改时间
     */
    private Date lastmodifytime;

    /**
     * 区域名称
     * @return
     */
    private String districtname;

    public String getDistrictname() {
        return districtname;
    }

    public void setDistrictname(String districtname) {
        this.districtname = districtname;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDistrictid() {
        return districtid;
    }

    public void setDistrictid(Integer districtid) {
        this.districtid = districtid;
    }

    public Date getMonitortime() {
        return monitortime;
    }

    public void setMonitortime(Date monitortime) {
        this.monitortime = monitortime;
    }

    public Integer getPm10() {
        return pm10;
    }

    public void setPm10(Integer pm10) {
        this.pm10 = pm10;
    }

    public Integer getPm25() {
        return pm25;
    }

    public void setPm25(Integer pm25) {
        this.pm25 = pm25;
    }

    public String getMonitoringstation() {
        return monitoringstation;
    }

    public void setMonitoringstation(String monitoringstation) {
        this.monitoringstation = monitoringstation;
    }

    public Date getLastmodifytime() {
        return lastmodifytime;
    }

    public void setLastmodifytime(Date lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }

    @Override
    public String toString() {
        return "AirQualityIndex{" +
                "id=" + id +
                ", districtid=" + districtid +
                ", monitortime=" + monitortime +
                ", pm10=" + pm10 +
                ", pm25=" + pm25 +
                ", monitoringstation='" + monitoringstation + '\'' +
                ", lastmodifytime=" + lastmodifytime +
                ", districtname='" + districtname + '\'' +
                '}';
    }
}
